<?php
class Comment extends EMongoDocument {
	public $content = "";
	public $root = "";
	public $type = ""; // tao comment cho san pham, cho message ...
	public $type_id = "";
	public $create_by = "";
	public $created_date = 0;

	public static function model($className=__CLASS__){
		return parent::model($className);
	}

	// This method is required!
	public function getCollectionName(){
		return 'tbl_comment';
	}

	public function rules(){
		$rules = array();
		return $rules;
	}

}
?>